package com.imooc.enums;

//只是生产getter方法
import lombok.Getter;

@Getter
public enum ProductStatusEnum implements codeEnum{

    //注意语法，很讲究的额
    UP(0, "上架"),
    DOWN(1,"下架");


    private Integer code;
    private String message;


    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
